﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wq.Model;

namespace Wq.ManagerService.Entities
{
    /// <summary>
	/// 管理员  
	/// </summary>
	[TenantAttribute("manager")]
    [SugarTable("Wq_Manager")]
    public class ManagerInfo
    {
        /// <summary>
        /// Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }
        /// <summary>
        /// 权限组
        /// </summary>
        [SugarColumn(ColumnDescription = "权限组")]
        public long RoleId { get; set; }
        /// <summary>
        /// 管理员名称
        /// </summary>
        [SugarColumn(ColumnDescription = "管理员名称")]
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        [SugarColumn(ColumnDescription = "密码",Length = 100)]
        public string Password { get; set; }
        /// <summary>
        /// 加密盐
        /// </summary>
        [SugarColumn(ColumnDescription = "加密盐", Length = 100)]
        public string PasswordSalt { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnDescription = "创建时间")]
        public DateTime CreateDate { get; set; }
    }

}
